home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / inventor / sharedSV / multicast.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  2.3 KB  |  49 lines

  1. /***************************************************************************
  2.  * multicast.h Release 1.14 - 2/27/92 09:45:34
  3.  * Last Change: 2/20/92 12:42:12
  4.  *
  5.  * @(#) - BZ - Multiplayer tank game - Multicast Socket routines.
  6.  *
  7.  *                    Chris Fouts - Silicon Graphics, Inc.
  8.  *                    October, 1991
  9.  **************************************************************************/
  10. /*                                                              */
  11. /*      Copyright (c) 1990 SGI   All Rights Reserved            */
  12. /*      THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI      */
  13. /*      The copyright notice above does not evidence any        */
  14. /*      actual or intended publication of such source code,     */
  15. /*      and is an unpublished work by Silicon Graphics, Inc.    */
  16. /*      This material contains CONFIDENTIAL INFORMATION that    */
  17. /*      is the property of Silicon Graphics, Inc. Any use,      */
  18. /*      duplication or disclosure not specifically authorized   */
  19. /*      by Silicon Graphics is strictly prohibited.             */
  20. /*                                                              */
  21. /*      RESTRICTED RIGHTS LEGEND:                               */
  22. /*      Use, duplication or disclosure by the                   */
  23. /*      Government is subject to restrictions                   */
  24. /*      as set forth in subdivision (c)(1)(ii) of               */
  25. /*      the Rights in Technical Data and Computer               */
  26. /*      Software clause at DFARS 52.227-7013,                   */
  27. /*      and/or in similar or successor clauses in the FAR,      */
  28. /*      DOD or NASA FAR Supplement. Unpublished- rights         */
  29. /*      reserved under the Copyright Laws of the United States. */
  30. /*      Contractor is SILICON GRAPHICS, INC., 2011 N. Shoreline */
  31. /*      Blvd., Mountain View, CA 94039-7311                     */
  32. /*                                                              */
  33.  
  34. #if !defined(MULTICAST_H)
  35.  
  36. #define MULTICAST_H
  37. #include <sys/types.h>
  38. #include <sys/socket.h>
  39. #include <netinet/in.h>
  40.  
  41.  
  42. /* BEGIN PROTOTYPES multicast.c */
  43. int openMulticastSocket( struct sockaddr_in *addr,  u_char ttl,
  44.         u_char loop, const char *group, const char *interface,
  45.         const char *mode_str ) ;
  46. /* END PROTOTYPES multicast.c */
  47.  
  48. #endif /* !defined(MULTICAST_H) */
  49.